package com.yang.designmode.ActionMode.iterator;

// 迭代器接口
interface Iterator<T> {
    boolean hasNext();
    T next();
}